﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VK.Casemeet.Groups;

namespace VK.Casemeet.Web.Front.Controls
{
    public partial class TopGroup : System.Web.UI.UserControl
    {
        public int AreaID { set; get; }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                repGroups.DataSource = GroupsBLL.GetGroups(0, 3, 0, 0, AreaID);
                repGroups.DataBind();
            }
        }
    }
}